package com.xydtech.common.utils.list;

import java.util.List;

/**
 * @Title: ListUtil
 * @Package: com.smartcore.pdfreader.util
 * @Description: 列表工具类
 * @author: Daniel
 * @date: 2020-12-29 09:05
 * @version: V1.0
 **/
public class ListUtil {

    /**
     * 判断list是否为空，为空返回true，不为空返回false
     * @param list
     * @return boolean
     * @exception
     * @author Daniel
     * @date 2020/12/29 9:06
     **/
    public static boolean isNullOrEmpty(List list){
        return list == null || list.size() == 0;
    }
}